package com.bdqn.service;

import com.bdqn.pojo.RoomType;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface RoomTypeService {
    public List<RoomType> findList(Map<String, Object> queryMap);
    public RoomType selectRoot(Long id);
    public List<RoomType>list();
    RoomType getroom(@Param("id")Long id);

    List<RoomType> getList(Map<String,Object> queryMap);

    int getTotal(Map<String,Object> queryMap);

    int add(RoomType roomType);

    int delete(Long id);

    int edit(RoomType roomType);

    RoomType find(Long id);
    public List<RoomType> findAll();

    public int updateNum(RoomType roomType);
}
